/*
 * Sesame Inc.
 * Copyright (c) 2009 All Rights Reserved.
 */
package com.sesame.dao;

import java.util.List;

import com.sesame.domain.ImageTag;
import com.sesame.domain.TagCloud;

/**
 * @author shubeta
 * 
 */
public interface ImageTagDAO {
    public List<TagCloud> getAllImageTag();

    public List<ImageTag> getAllImageTagByImageId(Integer imageId);

    public ImageTag getImageTagById(Integer id);

    public ImageTag getImageTagByTag(String tag);

    public ImageTag getImageTagByTagAndImageId(ImageTag imageTag);

    public void addImageTag(ImageTag imagetag);

    public void deleteImageTagById(Integer id);

    public void deleteImageTagByImageId(Integer imageId);

    public void updateImageTag(ImageTag imagetag);
}